<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>分类详情</title>
		<meta http-equiv="X-UA-Compatible" content="IE=edge">
		<meta name="viewport" content="width=device-width, initial-scale=0.5, minimum-scale=0.5, maximum-scale=0.5, user-scalable=no,viewport-fit=cover">
		<meta name="format-detection" content="telephone=no">
		<meta name="renderer" content="webkit">
		<meta http-equiv="Cache-Control" content="no-siteapp" />
		<link rel="stylesheet" href="../../css/common.css" />
		<link rel="stylesheet" href="../../css/product/type_detail.css" />
		<script src="../../js/common/static_common.js"></script>
	</head>
	<body onload="setHeight(20)">
		<span id="app" v-cloak>
			<header v-bind:title="title"></header>
			<div class="_div data-v-dd76fa52 container">
				<ul class="_ul data-v-dd76fa52 nav">
					<li class="_li data-v-dd76fa52 nav_item" :class="{red:saleFlag}" data-comkey="0" data-eventid="0" @click="saleFlagBtn()">销量 </li>
					<li class="_li data-v-dd76fa52 nav_item" style="color:white;">人气</li>
					<li class="_li data-v-dd76fa52 nav_item" :class="{red:priceFlag}"data-comkey="0" data-eventid="2" @click="priceFlagBtn()">
						价格
						<span class="_span data-v-dd76fa52">
							<img class="_img data-v-dd76fa52 nav_up"  v-bind:src="topFlag?'../../images/shouye/shang-hong@2x.png':'../../images/shouye/shang-hui@2x.png'" />

							<img class="_img data-v-dd76fa52 nav_down" v-bind:src="topFlag?'../../images/shouye/xia-hui@2x.png':first?'../../images/shouye/xia-hui@2x.png':'../../images/shouye/xia-hong@2x.png'" />
						</span>
					</li>
				</ul>
				<div class="_scroll-view data-v-dd76fa52" data-comkey="0" data-eventid="4" scroll-y="" style=" height:100%;">
					<ul class="_ul data-v-dd76fa52 mallList" v-if="products.length>0">
						<li class="_li data-v-dd76fa52 mall_item" data-comkey="0" data-eventid="3-0" v-for="item in products" @click="toDetail(item)">
							<img class="_img data-v-dd76fa52 mallImg" :src="imgUrl+item.homePath" />
							<div class="_div data-v-dd76fa52 top">
								<p class="_p data-v-dd76fa52 mall_name">{{item.name}}</p>
								<div class="_div data-v-dd76fa52 price_sell">
									<p class="_p data-v-dd76fa52 original_price">原价 ¥{{item.originPrice}}</p>
									<p class="_p data-v-dd76fa52 sell_num">销量 {{item.salesCount}}</p>
								</div>
								<p class="_p data-v-dd76fa52 last_add">
									<span class="_span data-v-dd76fa52 monty_title">￥</span>
									<span class="_span data-v-dd76fa52 money_num">{{item.price+item.points}}</span>
									<span class="_span data-v-dd76fa52 score_name" v-if="item.points>0">积分可抵￥</span>
									<span class="_span data-v-dd76fa52 score" v-if="item.points>0">{{item.points}}</span>
								</p>
							</div>
						</li>
					</ul>
					<div class="_div data-v-dd76fa52 bg" v-if="isNoData">
						<img style="padding-bottom: 200px;" class="_img data-v-dd76fa52 bg_img" src="../../images/sousuowujieguo@2x.png" />
					</div>
					
				</div>
			</div>
		</span>
	</body>
	<script src="../../js/product/type_detail.js"></script>
</html>
